fixed #3 by moving the call to make current to the top of snapshot
function to prevent the push calls being made without a valid context or a different context than the pop calls.
fixes #3
see https://www.graphics.rwth-aachen.de:9000/OpenFlipper-Free/OpenFlipper-Free/merge_requests/304 for build information