Fixed problem with direction when device is faced down