Maybe this substance is the contents from a level that was attached to the camera at some stage which may have leaked into the top of the camera?