* changes: cast is floor. Use round instead. This fixes a few layout issues (that was due to smaller widnow size)