Fixes orientation change buggines