Fix top position and left margin bug