Fixed inconsistency with RelativeLayout.