Commented out odd behaviour in element causeing whole app to crash, included in multiple pages (TO FIX)