Removed non-base64 bytes before the last 3 characters
Merge pull request #4917 from dferer/fix-4868

Fixed base64 image in CSS
Limit the size of canvases to 5MP (iOS restriction)