Deck overlay now only saves its position if it is visible

Fixes #490