fixed position top calculated error.
Signed-off-by: Rack Lin <racklin@gmail.com>