Fix retrieving saved top and left parameters