fixes weird firefox transition bug with :after