Fixes for browser dimension