Dynamic scaling for objects and screen