Reduced memory problems by removing the step where an extra background image was created
Further reduced memory problems by only using one hidden canvas instead of 2