Removed unnecessary drawing calls.