Canvas showing reduced frame size