Fixes glitch where memset does not set all values to 0 causing crashes when app is left in memory