screen dimensions fix for BETA2, persist configuration