Fix the issue of getHeight() returning 0.