Refactored hot corner into separate class.