Improved the image scaling even more.

Also fixed a regression in Geometry.h (all entities are double now).
Fixed regression with throbbing visual effects.

This is actually an ugly patch until the timers mechanism is improved.
Forcing a frame limiter when vertical sync is not enabled.
Improved detection of vertical sync.