LPS-44833 Clean up memory when screen is destroyed