fix surfaceflinger issues thanks @steven676