Fix for Firefox jagged edges