Moving perfect scaling to blocks.js and apply it on scene loading