@Alexanderbeno Hi mate a photoperiod plant should not ever go to flower when on an 18/6 light cycle
Light leaking is only an issue if your plant isn't flowering so you can disregard that as a factor. Somehow between either the breeders the seed distributors or even an accidental error of your own the seeds have been mixed up with an autoflowering variety