Fixed layer is null bug