Removed redundant check in draw code.