UI: Fix event resize bug and SASS transform mixin