Fixed tablet bug