Fix the level and mouse handling for pixel doubling