Floor viewport dimensions right before setting the properties. Implement zoom.
Floor viewport dimensions right before setting the properties. Implement zoom.

maciekwie/Crafty,craftyjs/Crafty,starwed/Crafty,craftyjs/Crafty,starwed/Crafty,mucaho/Crafty,maciekwie/Crafty,maciekwie/Crafty,craftyjs/Crafty,mucaho/Crafty,starwed/Crafty,mucaho/Crafty