I have a problem that is identical to this problem, however the solution provided doesn\'t solve my issue.
I\'m developing this using the PixelGameEngine from javidx9