fix offset Y issue