Clean up background canvas drawing codes