I think I speak for many here by saying that I would much better understand your problem if I could see and play with compilable code. I recommend that you create and post the smallest program possible that is compilable, runnable, demonstrates your problem, and has no extraneous code not related to the problem, an
SSCCE. Please see the link for details on how to create one of these because trust me, if your
SSCCE is compliant with the specs, you'll likely get a very helpful answer from someone here quickly. For instance you would likely create a very simple board that has one piece on it, that relies on graphics that are available to all from the internet.
Much luck!