Fixed overflow hidden issue on classes