Canvas optimizations
Updating canvas resolution and auto size