Fix potential use of pointer after checking for nullptr
Code below continues to use the pointer after a check for
nullptr like nothing happened. Probably continue is missing
in a loop.
clang-tidy: Called C++ object pointer is null
at eventsmanager.cpp:87 at framebuffermanager.cpp:86