Custom UI Not Displaying Correctly