Object disappearing bug fixed.

The problem was that the background was being drawn after the sprites,
which doesn't work.