Fixed bug with npe when orientation changed