Fix DebugImage going out of reach.

"Display large image" -> "Move outside screen bounds" -> "Display small
image.."
That could cause the image to potensially display the smaller image out
side the screen, resulting in it being unreachable.
Merge pull request #270 from WarPie/master

Fix DebugImage going out of reach.