Fixed NPE caused by using wrong instance of FPSCore