fix drawing X/Y offset issue, works fine when screen rotated

Signed-off-by: wenpin.cui <wenpincui224@gmail.com>