Wrong behaviour on Screen rotation